package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Am)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:13:35
 */
@ApiModel(value = "文章管理")
public class Am implements Serializable {
    private static final long serialVersionUID = 811906588910296731L;
    /**
     * 文章管理id(主键)
     */
    @ApiModelProperty(name = "amId",notes = "文章管理id(主键)",value = "文章管理id(主键)")
    private Integer amId;
    /**
     * 文章标题
     */
    @ApiModelProperty(name = "amAt",notes = "文章标题",required = true,value = "文章标题")
    private String amAt;
    /**
     * 关键字
     */
    @ApiModelProperty(name = "amKw",notes = "关键字",required = true,value = "关键字")
    private String amKw;
    /**
     * 网页描述
     */
    @ApiModelProperty(name = "amWpd",notes = "网页描述",value = "网页描述")
    private String amWpd;
    /**
     * 文章内容
     */
    @ApiModelProperty(name = "amAc",notes = "文章内容",required = true,value = "文章内容")
    private String amAc;
    /**
     * 小图
     */
    @ApiModelProperty(name = "amSp",notes = "小图",value = "小图")
    private String amSp;
    /**
     * 大图
     */
    @ApiModelProperty(name = "amBp",notes = "大图",value = "大图")
    private String amBp;
    /**
     * 跳转链接
     */
    @ApiModelProperty(name = "amJl",notes = "跳转链接",required = true,value = "跳转链接")
    private String amJl;
    /**
     * 显示状态(0:未显示 1:显示)
     */
    @ApiModelProperty(name = "amDs",notes = "显示状态(0:未显示 1:显示)",value = "显示状态(0:未显示 1:显示)")
    private Integer amDs;
    /**
     * 文章分类id(外键)
     */
    @ApiModelProperty(name = "articleCid",notes = "文章分类id(外键)",value = "文章分类id(外键)")
    private Integer articleCid;
    /**
     * 添加时间
     */
    @ApiModelProperty(name = "amAddtime",notes = "添加时间",value = "添加时间")
    private Date amAddtime;
    /**
     * 文章分类实体
     */
    private ArticleClass articleClass;

    public ArticleClass getArticleClass() {
        return articleClass;
    }

    public void setArticleClass(ArticleClass articleClass) {
        this.articleClass = articleClass;
    }

    public Integer getAmId() {
        return amId;
    }

    public void setAmId(Integer amId) {
        this.amId = amId;
    }

    public String getAmAt() {
        return amAt;
    }

    public void setAmAt(String amAt) {
        this.amAt = amAt;
    }

    public String getAmKw() {
        return amKw;
    }

    public void setAmKw(String amKw) {
        this.amKw = amKw;
    }

    public String getAmWpd() {
        return amWpd;
    }

    public void setAmWpd(String amWpd) {
        this.amWpd = amWpd;
    }

    public String getAmAc() {
        return amAc;
    }

    public void setAmAc(String amAc) {
        this.amAc = amAc;
    }

    public String getAmSp() {
        return amSp;
    }

    public void setAmSp(String amSp) {
        this.amSp = amSp;
    }

    public String getAmBp() {
        return amBp;
    }

    public void setAmBp(String amBp) {
        this.amBp = amBp;
    }

    public String getAmJl() {
        return amJl;
    }

    public void setAmJl(String amJl) {
        this.amJl = amJl;
    }

    public Integer getAmDs() {
        return amDs;
    }

    public void setAmDs(Integer amDs) {
        this.amDs = amDs;
    }

    public Integer getArticleCid() {
        return articleCid;
    }

    public void setArticleCid(Integer articleCid) {
        this.articleCid = articleCid;
    }

    public Date getAmAddtime() {
        return amAddtime;
    }

    public void setAmAddtime(Date amAddtime) {
        this.amAddtime = amAddtime;
    }

    @Override
    public String toString() {
        return "Am{" +
                "amId=" + amId +
                ", amAt='" + amAt + '\'' +
                ", amKw='" + amKw + '\'' +
                ", amWpd='" + amWpd + '\'' +
                ", amAc='" + amAc + '\'' +
                ", amSp='" + amSp + '\'' +
                ", amBp='" + amBp + '\'' +
                ", amJl='" + amJl + '\'' +
                ", amDs=" + amDs +
                ", articleCid=" + articleCid +
                ", amAddtime=" + amAddtime +
                ", articleClass=" + articleClass +
                '}';
    }
}